enum {
kComponentAliasResourceType= FOUR_CHAR_CODE('thga')/* component alias resource type
*/
};
The ComponentAliasResource structure is defined as follows:
struct ComponentAliasResource {
ComponentResource cr; /* registration parameters */
ComponentDescription aliasCD;/* target description */
};
To use the new CallComponentFunctionWithStorageProcInfo function, your component will need to link with ComponentsInterfacesLib.
pascal long CallComponentFunctionWithStorageProcInfo(
Handle storage,
ComponentParameters *params,
ProcPtr func,
long funcProcInfo);
The GetComponentTypeModSeed function allows you to determine if the specified type of registered component has changed. This function returns the value of the component registration seed number for the specified component type. By comparing this value to values previously returned by this function, you can determine whether the component registry for the specified type has changed.
pascal long GetComponentTypeModSeed (OSType componentType);
This function is similar to the GetComponentListModSeed function. Unlike GetComponentListModSeed , the GetComponentTypeModSeed function is specific to a single component type. This allows you to know if, for example, the registration of image decompressor (` imdc ') components has changed regardless of other component changes.
The OpenAComponent function is similar to OpenComponent , except that its return value is an OSErr . The ComponentInstance of the newly opened component is passed back through the ci argument.
pascal OSErr OpenAComponent (
Component aComponent,
ComponentInstance *ci);
The OpenADefaultComponent function is similar to OpenDefaultComponent , except that its return value is an OSErr . The ComponentInstance of the newly opened component is passed back through the ci argument.
pascal OSErr OpenADefaultComponent (
OSType componentType,
OSType componentSubType,
ComponentInstance *ci);
The OpenAComponentResFile function is similar to OpenComponentResFile , except that its return value is an OSErr . The resource reference number of the newly opened component file is passed back through the resRef argument.
pascal OSErr OpenAComponentResFile (
Component aComponent,
short *resRef);